package com.dz.risk.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dz.risk.pojo.domain.IndicatorDetailsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 指标项详情
 * 
 * @author yinpl
 * @email 
 * @date 2021-08-09 09:21:03
 */
@Mapper
public interface IndicatorDetailsDao extends BaseMapper<IndicatorDetailsEntity> {

    IndicatorDetailsEntity selectGetIndexNum(@Param("indexNumber") String indexNumber);

    List<IndicatorDetailsEntity> selectByIdAndName(@Param("indexNumber") String indexNumber, @Param("indexName") String indexName);

    List<String> selectIndexIds();

    void updateFormulaMap(@Param("hashMap") Map<Long, String> hashMap);

    void deleteByIndexNumber(@Param("indexNumber") String indexNumber);
}
